Ext.define('PC.store.StorePapel', {
    extend: 'Ext.data.Store',
    model: 'PC.model.ModelAtivos',
//    autoLoad: true,
    proxy: {
        type: 'rest',
        actionMethods: {
			create : 'POST',
			read : 'GET',
			update : 'POST',
			destroy: 'POST'
			},
        url: 'InvestindoServlet',
        extraParams: {
            store_id: 7
        },
		reader : {
			type : 'json',
			root : 'papel'
		},
		writer : {
			type : 'json',
			root : 'papel'
		}
     }
    
//     listeners: {
//         load : function(store) {
//             //if need something to do after the store loads
//         } 
//     }
 
});